package com.example.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface GoodsMapper {

     @Select("select goods_type from goods where goods_id = #{goods_id}")
     String getGoods_type(@Param("goods_id") int goods_id);
}
